import request from '@/utils/request'

// 查询简历库基本信息列表
export function listResumeBase(query) {
  return request({
    url: '/resume/resumeBase/list',
    method: 'get',
    params: query
  })
}

// 查询简历库基本信息详细
export function getResumeBase(id) {
  return request({
    url: '/resume/resumeBase/' + id,
    method: 'get'
  })
}

// 保存简历库基本信息
export function saveResumeBase(data) {
  return request({
    url: '/resume/resumeBase/save',
    method: 'post',
    data: data
  })
}

// 删除简历库基本信息
export function delResumeBase(id) {
  return request({
    url: '/resume/resumeBase/' + id,
    method: 'delete'
  })
}

// 导出简历库基本信息
export function exportResumeBase(query) {
  return request({
    url: '/resume/resumeBase/export',
    method: 'get',
    params: query
  })
}
